from turtle import *
from math import *
setup(800,800,100,0)
speed(200)
tracer(1)   
hideturtle()

def pen(x, y):
    penup()
    goto(x, y)
    pendown()
    
def shugan():
    pen(-100,-200)
    pensize(3)
    pencolor("brown")
    fillcolor("brown")
    seth(88)
    c = 450
    for i in range(150):
        fd(c)
        right(176)
        fd(c)
        right(92)
        fd(2 * sin(88) * c - 0.3)
        right(92)
        c -= 3
    
def songzhen():
    pen(-100,-120)
    pensize(3)
    pencolor("green")
    seth(120)
    a = 50
    b = 20
    for i in range(20):
        fd(a)
        for i in range(5):
            seth(60*i)
            fd(1)
            back(1)
        a -= 6

def main():
    shugan()
    songzhen()

if __name__ == '__main__':
    main()
    done()
    hideturtle()
